package io.xiyou.account.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * account_info
 *
 * @author
 */
@TableName("t_account_info")
@Data
public class AccountInfo implements Serializable {

    /**
     * 用户ID
     */
    @TableId(type = IdType.AUTO)
    private Long userId;

    /**
     * 户主姓名
     */
    @ApiModelProperty(value = "户主姓名")
    private String accountName;

    /**
     * 帐户余额
     */
    @ApiModelProperty(value = "帐户余额")
    private Double accountBalance;

    private static final long serialVersionUID = 1L;
}